package com.enjoyor.soa.traffic.core.efoms.mapper;

import com.enjoyor.soa.traffic.core.efoms.domain.WorkordersInfo;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.IBaseMapper;

import java.util.List;
import java.util.Map;

public interface IWorkordersInfoMapper extends IBaseMapper<WorkordersInfo> {
	
	public List<WorkordersInfo> selectWorkordersInfoList(Map<String, Object> map);

    /**
     * 查询当前逾期工单数量
     * @return
     */
	public int countOverTimeWorkOder();
    /**
     * 维修待确认工单数量查询并推送
     *
     * @return
     */
	public int countSureWKorderInfo(Map<String, Object> map);

    /**
     * 维修反馈工单数量查询并推送
     *
     * @return
     */
	public int countFackbackWKorderInfo(Map<String, Object> map);

    /**
     * 维修今日催办工单数量查询并推送
     *
     * @return
     */
	public int countPressWKorderInfo(Map<String, Object> map);

    /**
     * 维修今日申请延期工单数量查询并推送
     *
     * @return
     */
	public int countPostponeWKorderInfo(Map<String, Object> map);

    /**
     * 维修工单驳回记录
     * @param startTime
     * @param endTime
     * @return
     */
	public int countRejectWKorderInfo(Map<String, Object> map);
}